package com.ruoyi.washer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分账处理对象 xw_divide_accounts
 *
 * @author hawking
 * @date 2023-12-15
 */
public class XwDivideAccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分账ID */
    private Long divideAccountsId;

    /** 内部订单号 */
    @Excel(name = "内部订单号")
    private String outTradeNo;

    /** 小程序openid */
    @Excel(name = "小程序openid")
    private String openId;

    /** 分账比例 */
    @Excel(name = "分账比例")
    private String orderPercentage;

    /** 分账金额 */
    @Excel(name = "分账金额")
    private BigDecimal divideAmount;

    /** 分账完成状态 */
    @Excel(name = "分账完成状态")
    private String divideState;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    private String cashoutType;
    private String divideAccount;
    private String accountName;
    private String divideDesc;
    private BigDecimal divideTotal;

    private String userType;

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getDivideAccount() {
        return divideAccount;
    }

    public void setDivideAccount(String divideAccount) {
        this.divideAccount = divideAccount;
    }

    public String getCashoutType() {
        return cashoutType;
    }

    public void setCashoutType(String cashoutType) {
        this.cashoutType = cashoutType;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getDivideDesc() {
        return divideDesc;
    }

    public void setDivideDesc(String divideDesc) {
        this.divideDesc = divideDesc;
    }

    public BigDecimal getDivideTotal() {
        return divideTotal;
    }

    public void setDivideTotal(BigDecimal divideTotal) {
        this.divideTotal = divideTotal;
    }

    public void setDivideAccountsId(Long divideAccountsId)
    {
        this.divideAccountsId = divideAccountsId;
    }

    public Long getDivideAccountsId()
    {
        return divideAccountsId;
    }
    public void setOutTradeNo(String outTradeNo)
    {
        this.outTradeNo = outTradeNo;
    }

    public String getOutTradeNo()
    {
        return outTradeNo;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getOpenId()
    {
        return openId;
    }
    public void setOrderPercentage(String orderPercentage)
    {
        this.orderPercentage = orderPercentage;
    }

    public String getOrderPercentage()
    {
        return orderPercentage;
    }
    public void setDivideAmount(BigDecimal divideAmount)
    {
        this.divideAmount = divideAmount;
    }

    public BigDecimal getDivideAmount()
    {
        return divideAmount;
    }
    public void setDivideState(String divideState)
    {
        this.divideState = divideState;
    }

    public String getDivideState()
    {
        return divideState;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("divideAccountsId", getDivideAccountsId())
            .append("outTradeNo", getOutTradeNo())
            .append("openId", getOpenId())
            .append("orderPercentage", getOrderPercentage())
            .append("divideAmount", getDivideAmount())
            .append("divideState", getDivideState())
            .append("createBy", getCreateBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
